| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

BufferUsage.h
1 // BufferUsage.h
3 //
5
6 namespace nkGraphics
7 {
11 enum class BUFFER_USAGE
12 {
13 USAGE_DEFAULT = 0,
14 USAGE_IMMUTABLE = 1,
15 USAGE_DYNAMIC = 2,
16 USAGE_STAGING = 3
17 } ;
18 }
nkGraphics::BUFFER_USAGE::USAGE_STAGING
@ USAGE_STAGING
Staging. Meant to be read from CPU. Will be hosted on CPU, most likely.
nkGraphics::BUFFER_USAGE::USAGE_DEFAULT
@ USAGE_DEFAULT
Default usage. Will be hosted on GPU, most likely.
nkGraphics::BUFFER_USAGE::USAGE_IMMUTABLE
@ USAGE_IMMUTABLE
Immutable. Needs starting resources, will be hosted on GPU, most likely.
nkGraphics::BUFFER_USAGE
BUFFER_USAGE
Available usage for buffers. Drives the memory used for hosting the data.
Definition: BufferUsage.h:12
nkGraphics::BUFFER_USAGE::USAGE_DYNAMIC
@ USAGE_DYNAMIC
Dynamic. Meant to be updated often (per frame), will be hosted on CPU, most likely.
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7